first = input("请选择贷款类型:1.商业贷款 2.公鸡精贷款 3.祝贺贷款")
second = int(input("请输入贷款金额(万)"))
third = int(input("请选择期限(年)：5`10`15`20`25"))
if first =='1':
    yue = third * 12
    yue_money = 0.049 / 12
    yue_give = second*10000*(yue_money*(1+yue_money)**yue)/((1+yue_money)**yue-1)
    give = yue_give * yue
    give_lixi = give - second * 10000
    print("每月月供参考（元）：",end=""),print(yue_give,end=""),print("元")
    print("支付利息（元）：",end=""),print(give_lixi,end=""),print("元")
    print("还款总额（元）：",end=""),print(give,end=""),print("元")
elif first =='2':
    yue = third * 12
    yue_money = 0.0325 / 12
    yue_give = second * 10000 * (yue_money * (1 + yue_money) ** yue) / ((1 + yue_money) ** yue - 1)
    give = yue_give * yue
    give_lixi = give - second * 10000
    print("每月月供参考（元）：", end=""), print(yue_give, end=""), print("元")
    print("支付利息（元）：", end=""), print(give_lixi, end=""), print("元")
    print("还款总额（元）：", end=""), print(give, end=""), print("元")